// src/router/permission.js
import router, { addDynamicRoutes } from "./index";

/**
 * 初始化权限路由
 * @param {Array} backendRoutes 后端返回的路由信息
 */
export function initPermission(backendRoutes) {
  // 动态添加路由
  addDynamicRoutes(backendRoutes);
}
